package edu.psu.geovista.app.hce.dendroview.gui;

import java.awt.event.MouseMotionListener;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Jun 22, 2005$
 * @version: 1.0
 */

public interface HighlightablePlot {
    public void hightlightCluster(int index, int x, int y);
    /**
     * given a point (x,y), if it is in mosaic plot regoin, return the index of observation  whose regoin the point fall in.
     * If not in   mosaic plot regoin, return -1
     * @param x
     * @param y
     * @return
     */
    public int getIndex(int x, int y);

    public void addMouseMotionListener(MouseMotionListener l) ;
}
